<?php
/**
 * 管理后台
 * @copyright reginx.com
 * $Id: index.mod.php 129 2013-01-04 06:26:57Z reginx.com@gmail.com $
 */
class index_mod extends admin_mod {
    
    /**
     * 默认首页
     *
     */
    public function indexAct(){
        $this->display('index.html');
    }
    
    public function leftAct(){
        $id = intval($this->get('n'));
        $this->assign('nav' , misc_lib::getnav($id));
        $this->display('index/left.html');
    }
    
    public function rightAct(){
        $this->display('index/right.html');
    }
    
    public function topAct(){
        $this->assign('nav' , misc_lib::getnav());
        $this->display('index/top.html');
    }
}
?>